package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallUserBankCardsDao;
import com.appkubes.mall.core.entity.MallUserBankCards;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallUserBankCardsService extends AbstractBaseService<BaseMallUserBankCardsDao, MallUserBankCards> {

    MallUserBankCards getOneByEntity(MallUserBankCards entity);

    List<MallUserBankCards> selectListByEntity(MallUserBankCards entity);

    IPage<MallUserBankCards> selectPageByEntity(IPage<MallUserBankCards> page);
    IPage<MallUserBankCards> selectPageByEntity(PageVO pageVO);

    IPage<MallUserBankCards> selectPageByEntity(MallUserBankCards entity, IPage<MallUserBankCards> page);
    IPage<MallUserBankCards> selectPageByEntity(MallUserBankCards entity, PageVO pageVO);

    IPage<MallUserBankCards> selectPageByEntity(MallUserBankCards entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallUserBankCards entity);
}
